Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pandas / numpy Dependency From metricflow-semantics #1189

Closed
wants to merge 13 commits into from

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented May 8, 2024

Description

metricflow-semantics currently is dependent on pandas and transitively, numpy. It would be helpful to remove those dependencies as:

  • They often have hard version requirements due to backward-incompatible changes.
  • They pull in many dependent packages.
  • They are large packages that slow down building of the virtual environment and consume significant memory when loaded.

Removing those dependencies would make the package easier to use. Migrading away from pandas requires changing the implementation of time period calculations to use dateutil..

@cla-bot cla-bot bot added the cla:yes label May 8, 2024
@plypaul plypaul marked this pull request as ready for review May 8, 2024 11:37
@plypaul plypaul force-pushed the p-rm-pandas--01 branch 2 times, most recently from 90356ae to 8c2c086 Compare May 30, 2024 00:12
Base automatically changed from p-rm-pandas--01 to main May 30, 2024 00:16
@plypaul
Copy link
Contributor Author

plypaul commented May 30, 2024

Closing this out as this was significantly revised, and related changes will be in a another PR.

@plypaul plypaul closed this May 30, 2024
@plypaul plypaul deleted the p-rm-pandas--02 branch May 31, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant